/**
 *商品分类业务
 */
import {Http} from "../utils/http";
import {server_config} from "../config/config";

class Category {
    /**
     * 获取商品分类信息
     * @returns {Promise<void>}
     */
    static async getCategoryInfos() {
        return await Http.request({
            url: `${server_config.categoryGridInfo}`
        });
    }
}

export {
    Category
}